package bit.project.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@ApiModel("用户信息")
@Data
public class User {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("")
    private String password;
    @ApiModelProperty("")
    private String nickname;
    @ApiModelProperty("")
    private String phoneNum;
    @ApiModelProperty("")
    private String email;
    @ApiModelProperty("")
    private Byte gender;
//  敏感信息不传输
    private String salt;
    @ApiModelProperty("")
    private String avatarUrl;
    @ApiModelProperty("")
    private Integer articleCount;
    @ApiModelProperty("")
    private Byte isAdmin;
    @ApiModelProperty("")
    private String remark;
    @ApiModelProperty("")
    private Byte state;
    @ApiModelProperty("")
    private Byte deleteState;
    @ApiModelProperty("")
    private Date createTime;
    @ApiModelProperty("")
    private Date updateTime;


}